Skip to main content

Update Product Bio

Method: PATCH
/api/v1/products/{productId}/tenants/{tenantId}/bio

Description​

Update the bio details of an existing product within a tenant’s account.

πŸ”‘ Authentication​

This endpoint requires authentication via a Bearer Token.

ParamValueType
token{{tenantUserAccessToken}}string

Path Parameters​

These parameters must be included in the URL path.

NameTypeDescription
productIdstringThe ID of the product to update
tenantIdstringThe ID of the tenant associated with the product

Request Body​

NameTypeDescription
titlestringUpdated title of the product bio
descriptionstringUpdated product bio description
photostringUpdated product bio image URL

Example Request​

PATCH /api/v1/products/{{productId}}/tenants/{{tenantId}}/bio
Authorization: Bearer {{tenantUserAccessToken}}
Content-Type: application/json
{
"title": "New Product Bio Title",
"description": "An updated description for the product",
"photo": "https://example.com/updated-bio-image.png"
}

Response Code: 200 - OK​

{
"productId": "67a81ecca9a55da218c22c35",
"tenantId": "67a81e0478c623946a5e4a49",
"title": "New Product Bio Title",
"description": "An updated description for the product",
"photo": "https://example.com/updated-bio-image.png",
"updatedAt": "2025-02-09T03:50:42.195Z"
}

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request PATCH \ 
--url /api/v1/products/{productId}/tenants/{tenantId}/bio \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!